﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;

namespace GolfSigma.Inventory.Model
{
    [XmlRoot("WebSiteMetadata")]
    public class WebSiteMetadata
    {
        [XmlElement("WebSiteId")]
        public UInt32 WebSiteId { get; set; }

        [XmlElement("MinPrice")]
        public float MinPrice { get; set; }

        [XmlElement("MaxPrice")]
        public float MaxPrice { get; set; }

        [XmlElement("FirstTeeTime")]
        public DateTime FirstTeeTime { get; set; }

        [XmlElement("LastTeeTime")]
        public DateTime LastTeeTime { get; set; }

        [XmlElement("TotalTeeTimes")]
        public int TotalTeeTimes { get; set; }

        public WebSiteMetadata()
        {
            // Setup our default values
            WebSiteId = 0;
            MinPrice = float.MinValue;
            MaxPrice = float.MinValue;
            FirstTeeTime = DateTime.MinValue;
            LastTeeTime = DateTime.MaxValue;
            TotalTeeTimes = 0;
        }
    }
}
